let initialState ={
    SongList:[]
}

const SongList = (state=[],action)=>{
    let {type,payload} = action;
    switch(type){
        case "Get_SongList":
        return [...payload];
        default:
        return state
    }
     
}

export default (state=initialState,action)=>{
    return{
        SongList:SongList(state.SongList,action)
    }
}